//
//  IGListBaseSC.h
//  MCCSframework
//
//  Created by qq on 2019/8/8.
//  Copyright © 2019 yhy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "IGListKit.h"

NS_ASSUME_NONNULL_BEGIN
@protocol IGListSectionType;
@protocol IGListDiffable;
@class SpaceSplitterSC;
@class SpaceSplitterCell;
@class SplitLineCell;
@class TextPropertyCell;

@interface SubController : IGListSectionController<IGListSectionType,IGListDiffable>
@property (strong, nonatomic) NSArray<SubController*>* children;

// MARK: - Cell initialize method
-(SpaceSplitterCell*)spacerAtIndex:(NSInteger)index color:(UIColor*)color;
-(SpaceSplitterCell*)spacerAtIndex:(NSInteger)index;
-(SplitLineCell*)lineAtIndex:(NSInteger)index leftIndent:(CGFloat)leftIndent color:(UIColor*)color;
-(SplitLineCell*)lineAtIndex:(NSInteger)index;
-(TextPropertyCell*)textCellAtIndex:(NSInteger)index name:(NSString*)name value:(id)value;
@end

NS_ASSUME_NONNULL_END
